﻿using System;
using System.Runtime.Serialization;

namespace Test.MyUtils.TestHelp {
	[Serializable]
	public class TestRunException : TestAssertionException {
		public TestRunException() { }
		public TestRunException(string message) : base(message) { }
		public TestRunException(string message, Exception ex) : base(message, ex) { }
		protected TestRunException(
			SerializationInfo info,
			StreamingContext context) : base(info, context) {}

		public override TestResult TestResult {
			get {
				return TestResult.TestRunError;
			}
		}
	}
}